/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package jse;

/**
 *
 * @author WangShuai
 */
public class MathTest {
    public static void main(String[] args) {
        //1. Math.pow   （乘幂）
        System.out.println(Math.pow((double) 10, (double) 2));
        //2.Random (greater than or equal to 0.0 and less than 1.0)
        System.out.println(Math.random());
            //x>=0.1  <1
        //只能通过多次while进行随机
    }
}
